package com.zdxk.msgPush.common.load;

import com.zdxk.msgPush.websocket.annotion.RequestMappingProcessor;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class WebsocketControllerLoad implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        RequestMappingProcessor.scanRequestMapping();
    }
}
